﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    enum cai
    {
        西红柿炒石头,
        鸡蛋炒蜗牛,
    }
    class CookRobot:Robot
    {
        public cai cai;
        public CookRobot(string name,cai cai)
        {
            this.Name = name;
            this.cai = cai;
        }
        public override void work()
        {
            Console.WriteLine("我叫{0},我会{1}",this.Name,this.cai);
        }
    }
}
